Inserting a new PURL contact through a form on your website
With Purlem's API it is easy for you to automatically insert contacts through a form on your, or your client's, website.
1. Gather Data
Before you begin using Purlem's API you should gather the following info (all can be found under theSettings tab in your Purlem dashboard):
- User ID
- API Token
- Campaign ID
2. Download & Install
Once you have that information, you want to download and install the following 2 files on your server
- purlapi.php (https://github.com/purlem/Purlem-API/blob/master/library-php/purlapi.php)
- contact_add.php (https://github.com/purlem/Purlem-API/blob/master/library-php/examples/contact_add.php)
3. Customize
Feel free to customize your form however you like using HTML and CSS.